const { ccclass, property } = cc._decorator;

@ccclass
export default class SatisfactionPage extends cc.Component {
    @property(cc.Node)
    SatisfactionPage: cc.Node = null;
    @property(cc.Node)
    page_bg: cc.Node = null;
    @property(cc.Node)
    icon_smile: cc.Node = null;
    @property(cc.Node)
    btn_go: cc.Node = null;
    @property(cc.Node)
    label_title: cc.Node = null;
    @property(cc.Node)
    label_num: cc.Node = null;
    @property(cc.Node)
    btn_close: cc.Node = null;

    onLoad() {
        this.SatisfactionPage = this.node;
        this.page_bg = this.SatisfactionPage.getChildByName("page_bg");
        this.icon_smile = this.page_bg.getChildByName("icon_smile");
        this.btn_go = this.page_bg.getChildByName("btn_go");
        this.label_title = this.page_bg.getChildByName("label_title");
        this.label_num = this.page_bg.getChildByName("label_num");
        this.btn_close = this.SatisfactionPage.getChildByName("btn_close");
    }
    
    // ...
}

